package net.dgg.dggcloud.service.jrcrm.entity.orf;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName:OutlayItem
 * @Description:
 * @author：郭伟
 * @date： 2017/11/6
 */

@Entity
@Table(name = "orf_outlay_item")
public class OutlayItem extends BaseEntity {

    /**
     * 订单ID
     */
    @Column(name="order_id")
    private Long orderId;

    /**
     * 金额
     */
    @Column(name="amount")
    private Long amount;

    /**
     * 未付款金额
     */
    @Column(name="not_amount")
    private Long notAmount;

    /**
     * 科目标识
     */
    @Column(name="cost_id")
    private String costId;

    /**
     * 费用ID
     */
    @Column(name="outlay_id")
    private Long outlayId;

    /**
     * 生产订单id
     */
    @Column(name="order_business_id")
    private Long orderBusinessId;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Long getNotAmount() {
        return notAmount;
    }

    public void setNotAmount(Long notAmount) {
        this.notAmount = notAmount;
    }

    public String getCostId() {
        return costId;
    }

    public void setCostId(String costId) {
        this.costId = costId;
    }

    public Long getOutlayId() {
        return outlayId;
    }

    public void setOutlayId(Long outlayId) {
        this.outlayId = outlayId;
    }

    public Long getOrderBusinessId() {
        return orderBusinessId;
    }

    public void setOrderBusinessId(Long orderBusinessId) {
        this.orderBusinessId = orderBusinessId;
    }
}
